package cn.haohaowo.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class Book implements Serializable {
	private static final long serialVersionUID = -2845695093349397801L;

	private Integer id;
	private String title;
	private String author;
	private String publisher;
	private String type;
	private String description;
	private String imageUrl;
	private Integer price;
	private Integer orgiPrice;
	private String published;
	private Date publishedDate;
	private List<OrderDetail> orderDetailList = new ArrayList<OrderDetail>();

}
